/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package data.xml_persistence.transform_model;

/**
 *
 * @author zhenia
 */
public class Airplane {

    private String id;
    private String model;
    private int seats;
    private int avgConsumption;
    private int maxConsumption;
    private int minConsumption;
    private int capacity;

    public Airplane(String id, String model, int seats, int avgConsumption, int maxConsumption, int minConsumption, int capacity) {
        this.id = id;
        this.model = model;
        this.seats = seats;
        this.avgConsumption = avgConsumption;
        this.maxConsumption = maxConsumption;
        this.minConsumption = minConsumption;
        this.capacity = capacity;
    }

    public int getAvgConsumption() {
        return avgConsumption;
    }

    public void setAvgConsumption(int avgConsumption) {
        this.avgConsumption = avgConsumption;
    }

    public int getCapacity() {
        return capacity;
    }

    public void setCapacity(int capacity) {
        this.capacity = capacity;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getMaxConsumption() {
        return maxConsumption;
    }

    public void setMaxConsumption(int maxConsumption) {
        this.maxConsumption = maxConsumption;
    }

    public int getMinConsumption() {
        return minConsumption;
    }

    public void setMinConsumption(int minConsumption) {
        this.minConsumption = minConsumption;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public int getSeats() {
        return seats;
    }

    public void setSeats(int seats) {
        this.seats = seats;
    }
}
